def item = request.getString('item');
def id = request.getLong('ID');
log.debug("ID:{}",id);
log.debug("item:{}",item);

def sql = "select " + item + " from DIARY where ID=" + id;
log.debug("sql:{}",sql);
def content = db.find(sql);
if (content != null){
	return content;
} else {
	return false;
}